
export type Channel = 'stable' | 'insiders';

export const EQ_LANGUAGE = 'eq';
export const NotebookCellScheme = 'vscode-notebook-cell';
export const InteractiveInputScheme = 'vscode-interactive-input';
//Get an extension by its full identifier in the form of: `publisher.name`.
export const PVSC_EXTENSION_ID = '4mychip.eq-language';
export const PYLANCE_EXTENSION_ID = 'ms-eq.vscode-eqlance';
/// [TODO]
export const AppinsightsKey = 'AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217';

export const DEFAULT_INTERPRETER_SETTING = 'eq';

export const EQ = [
    { scheme: 'file', language: EQ_LANGUAGE },
    { scheme: 'untitled', language: EQ_LANGUAGE },
    { scheme: 'vscode-notebook', language: EQ_LANGUAGE },
    { scheme: NotebookCellScheme, language: EQ_LANGUAGE },
    { scheme: InteractiveInputScheme, language: EQ_LANGUAGE },
];
export const STANDARD_OUTPUT_CHANNEL = 'STANDARD_OUTPUT_CHANNEL';

export const TEST_OUTPUT_CHANNEL = 'TEST_OUTPUT_CHANNEL';

export function isTestExecution(): boolean {
    return process.env.VSC_EQ_CI_TEST === '1' || isUnitTestExecution();
}

export function isUnitTestExecution(): boolean {
    return process.env.VSC_EQ_UNIT_TEST === '1';
}
export namespace Commands {
    export const ClearStorage = 'eq.clearPersistentStorage';
    export const ViewOutput = 'eq.viewOutput';
    export const Enable_SourceMap_Support = 'eq.enableSourceMapSupport';
    export const Set_Linter = 'eq.setLinter';
    export const Enable_Linter = 'eq.enableLinting';
    export const Run_Linter = 'eq.runLinting';
    export const Sort_Imports = 'eq.sortImports';
    export const Start_REPL = 'eq.startREPL';
    export const Create_Terminal = 'eq.createTerminal';
    export const Exec_In_Terminal = 'eq.execInTerminal';
    export const Exec_In_Terminal_Icon = 'eq.execInTerminal-icon';
    export const Debug_In_Terminal = 'eq.debugInTerminal';
    export const Exec_Selection_In_Terminal = 'eq.execSelectionInTerminal';
    export const Exec_Selection_In_Django_Shell = 'python.execSelectionInDjangoShell';
}

export const UseProposedApi = Symbol('USE_VSC_PROPOSED_API');

export * from '../constants';